package patternObserver;

public class ObsCBA implements Observer {

	StringDataClass s;
	public ObsCBA(StringDataClass s) {
		this.s=s;
	}
	@Override
	public void event() {
		System.out.println(s.c+s.b+s.a);
		
	}

}
